export default {
  state: {

    houseAreaNew: '',  //快捷找房 区域
    housePayMinNew: '',  //快捷找房  价格 小
    housePayMaxNew: '',  //快捷找房  价格 大
    houseTypeNew: '',  //快捷找房  房源类型
    houseDevelopersNew:'',//开发商
    houseHuxingNew:'',//户型
    phoneNumber:'',
  },
  getters: {
    getHouseAreaNew(state){
      return state.houseAreaNew
    },
    getHousePayMinNew(state){
      return state.housePayMinNew
    },
    getHousePayMaxNew(state){
      return state.housePayMaxNew
    },
    getHouseTypeNew(state){
      return state.houseTypeNew
    },
    getHouseDevelopersNew(state){
      return state.houseDevelopersNew
    },
    getHouseHuxingNew(state){
      return state.houseHuxingNew
    },
    getHousePhoneNumber(state){
      return state.phoneNumber
    }
  },
  mutations: {
    //清除快捷找房数据
    setClearHouseNew(state){
      state.houseAreaNew = '';
      state.housePayMinNew = '';
      state.housePayMaxNew = '';
      state.houseTypeNew = '';
      state.houseDevelopersNew = '';
      state.houseHuxingNew = '';
    },
    setHouseAreaNew(state,area){
      state.houseAreaNew  = area;
    },
    setHousePayMinNew(state,pay){
      state.housePayMinNew  = pay;
    },
    setHousePayMaxNew(state,pay){
      state.housePayMaxNew  = pay;
    },
    setHouseTypeNew(state,type){
      state.houseTypeNew = type;
    },
    setHouseDevelopersNew(state,type){
      state.houseDevelopersNew = type;
    },
    setHouseHuxingNew(state,type){
      state.houseHuxingNew  = type;
    },
    setHousePhoneNumber(state,number){
      state.phoneNumber  = number;
    }
  },
  actions: {}
}
